<?php
	include "../Questionnaire.php";
	$ques=new Questionnaire;
	$ques->setQuestion($_POST['ques']);
	$ques->setOption1($_POST['op1']);
	$ques->setOption2($_POST['op2']);
	$ques->setOption3($_POST['op3']);
	$ques->setOption4($_POST['op4']);
	$ques->setCorrectAns($_POST['correct']);
	$ques->setExplanation($_POST['explanation']);
	$ques->setSubject($_POST['subject']);
	$ques->createQuestionnaire($_POST['code']);
	
	
?>
